<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>XX系统 - 合同信息更新</title>
<link rel="stylesheet" href="../../css/main.css">
<link rel="stylesheet"
	href="../../lib/font-awesome/css/font-awesome.css">
</head>
<body>
	<div class="box">
		<h3>合同信息更新</h3>
		<form action="../editLeaseServlet?action=edit&lc_id=${lcm.lc_id }" method="post">
			<table class="form-table">
				<tr>
					<td>合同号</td>
					<td colspan="3" class="control">${lcm.lc_contract_number }</td>
				</tr>
				<tr>
					<td>房屋信息(HOUSE)</td>
					<td colspan="3" class="control"><input type="text"
						name="flat_id" placeholder="房屋信息ID" value="${lcm.flat_id }"></td>
				</tr>
				<tr>
					<td>租户信息(LESSEE)</td>
					<td colspan="3" class="control"><input type="text"
						name="tenant_id" placeholder="租户信息ID" value="${lcm.tenant_id }"></td>
				</tr>
				<tr>
					<td>合同日期</td>
					<td colspan="3" class="control"><input type="text"
						name="lc_contract_date" placeholder="合同日期" value="${lcm.lc_contract_date }"></td>
				</tr>
				<tr>
					<td>租赁开始时间</td>
					<td colspan="3" class="control">${lcm.lc_contract_start_date }"</td>
				</tr>
				<tr>
					<td>租赁结束时间</td>
					<td colspan="3" class="control"><input type="text"
						name="lc_contract_end_date" placeholder="租赁结束时间" value="${lcm.lc_contract_end_date }"></td>
				</tr>
				<tr>
					<td>房租总额</td>
					<td colspan="3" class="control"><input type="text"
						name="lc_total_rent" placeholder="房租总额" value="${lcm.lc_total_rent }"></td>
				</tr>
				<tr>
					<td>付款方式</td>
					<td colspan="3" class="control"><select name="lc_pay_way">
							<option value="0">月付</option>
							<option value="1">半年付</option>
							<option value="2">年付</option>
							<option value="3">季付</option>
					</select></td>
				</tr>
				<tr>
					<td>押金</td>
					<td colspan="3" class="control"><input type="text"
						name="lc_deposit" placeholder="押金" value="${lcm.lc_deposit }"></td>
				</tr>
				<tr>
					<td>付款期数</td>
					<td colspan="3" class="control"><input type="text"
						name="lc_period_payment" placeholder="付款期数" value="${lcm.lc_period_payment }"></td>
				</tr>
				<tr>
					<td>合同签署人</td>
					<td colspan="3" class="control">${lcm.lc_contract_signer }"</td>
				</tr>
				<tr>
					<td>合同状态</td>
					<td colspan="3" class="control"><input type="radio"
						name="lc_contract_state" value="0" checked >已生效 <input
						type="radio" name="lc_contract_state" value="1">已失效</td>
				</tr>
			</table>
			<div class="buttons">
				<input class="btn btn-primary va-bottom" type="submit" value="保存">&nbsp;&nbsp;
				<a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
			</div>
		</form>
	</div>
</body>
</html>